package cn.hznc.controller.uploadfilestrategy;

import cn.hznc.configuration.MinioHelper;
import com.netflix.discovery.converters.Auto;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * @Author：Administrator
 * @Date：2024/2/28 16:28
 */
@Component
public class RemoveFileMinio implements RemoveFileStrategy{

    @Autowired
    private MinioHelper minioHelper;

    @Override
    public void removeFile(String fileUrl) {
        minioHelper.removeFile(fileUrl);
    }
}
